﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace TicketsPhone.Domain.Access
{
    public class TipoDatoSql : Attribute
    {
        /// <summary>
        /// Gets or sets the data type of field
        /// </summary>
        public DbType Tipo { get; set; }

        /// <summary>
        /// Gets or sets the name of stored procedure's parameter
        /// </summary>
        public string Nombre { get; set; }

        public TipoDatoSql(DbType Type, string Name)
        {
            this.Tipo = Type;
            this.Nombre = Name;
        }
    }
}
